<template>
	<view>
		<view class="top1">
			<view @click="fh" class="right_arrow"></view>
		</view>
		<div class="g1">
			<image class="kj1" src="/static/圆框.png"></image>
			<image class="add1" src="/static/add.png"></image>
			<image class="add2" src="/static/add.png"></image>
			<image class="add3" src="/static/add.png"></image>
			<image class="add4" src="/static/add.png"></image>
			<image class="add5" src="/static/add.png"></image>
			<image class="kj2" src="/static/i1.png"></image>
			<text class="yj">一键邀请好友</text>	
			<text class="yq">邀请5个好友 \n 即可免费领取下面任一爆品</text>
		</div>
		<div class="g2">
			<image class="p1" src="/static/rw4.png"></image>
			<image class="p2" src="/static/rw1.png"></image>
			<image class="p3" src="/static/rw2.png"></image>
			<image class="p4" src="/static/rw3.png"></image>
		</div>
		
		<view style="background-color: #F95738;width: 100%;
		  height: 120rpx;
		  position:fixed;
		  bottom: 0;
		  display:flex;
		  flex-direction:row;
		  justify-content:flex-start;">
		   <view @click="gotohome" id="button1">
		   <image src="/static/home.png" style="width: 60rpx;height: 60rpx;margin-left: 50rpx;margin-top: 10rpx;"></image>
		   <view style="margin-left: 47rpx;font-weight: 900;">首页</view>
		   </view>
		   <view @click="gotozf" id="button2">
		   <image src="/static/zf.png" style="width: 60rpx;height: 60rpx;margin-left: 230rpx;margin-top: 10rpx;"></image>
		   <view style="margin-left: 190rpx;font-weight: 900;">一键转发</view>
		   </view>
		   <view @click="gotomy" id="button3">
		   <image src="/static/me.png" style="width: 60rpx;height: 60rpx;margin-left: 170rpx;margin-top: 10rpx;"></image>
		   <view style="margin-left:170rpx;font-weight: 900;">我的</view>
		   </view>
		  </view>
		
		
	</view>
</template>

<script>
	export default{
		methods:{
			gotohome(){
				uni.navigateTo({
					url:"/pages/index/index"
				})
			},
			gotozf(){
				uni.navigateTo({
					url:"/pages/zf/zf"
				})
			},
			gotomy(){
				uni.navigateTo({
					url:"/pages/my/my"
				})
			},
			fh(){
				uni.navigateBack({
					url:"/pages/my/my"
				})
			}
		}
	}
</script>

<style>
	.top1{
		width: 100%;
		height: 130rpx;
		background-color: #F95738;	
	
		display:flex;
		flex-direction:row;
		justify-content:flex-start;
	}
	.right_arrow{
	    border:  solid white;
	    border-width: 5px 0 0 5px;
	    padding: 15rpx;
	    position: absolute;
		top:70rpx;
	    left: 45rpx;
	    transform: rotate(-45deg);
	    -webkit-transform:rotate(-45deg) ;
	}
	.g1{
		display: flex;
		position: relative;
	}
	.kj1{
		position: absolute;
		width: 800rpx;
		height: 300rpx;
		margin-top: 15rpx;
	}
	.add1{
		position: absolute;
		width: 100rpx;
		height: 100rpx;
		margin-top: 50rpx;
		margin-left: 25rpx;
	}
	.add2{
		position: absolute;
		width: 100rpx;
		height: 100rpx;
		margin-top: 50rpx;
		margin-left: 175rpx;
	}
	.add3{
		position: absolute;
		width: 100rpx;
		height: 100rpx;
		margin-top: 50rpx;
		margin-left: 325rpx;
	}
	.add4{
		position: absolute;
		width: 100rpx;
		height: 100rpx;
		margin-top: 50rpx;
		margin-left: 475rpx;
	}
	.add5{
		position: absolute;
		width: 100rpx;
		height: 100rpx;
		margin-top: 50rpx;
		margin-left: 625rpx;
	}
	.kj2{
		position: absolute;
		width: 450rpx;
		height: 120rpx;
		margin-top: 180rpx;
		margin-left: 150rpx;
	}
	.yj{
		position: absolute;
		font-size: 60rpx;
		font-weight: bold;
		margin-top: 200rpx;
		margin-left: 190rpx;
	}
	.yq{
		position: absolute;
		font-size: 30rpx;
		font-weight: bold;
		text-align: center;
		margin-top: 320rpx;
		margin-left: 200rpx;
	}
	
	.g2{
		display: flex;
		position: relative;
	}
	.p1{
		position: absolute;
		width: 250rpx;
		height: 350rpx;
		margin-top: 410rpx;
		margin-left: 60rpx;
	}
	.p2{
		position: absolute;
		width: 250rpx;
		height: 350rpx;
		margin-top: 410rpx;
		margin-left: 440rpx;
	}
	.p3{
		position: absolute;
		width: 250rpx;
		height: 300rpx;
		margin-top: 775rpx;
		margin-left: 60rpx;
	}
	.p4{
		position: absolute;
		width: 250rpx;
		height: 300rpx;
		margin-top: 775rpx;
		margin-left: 440rpx;
	}
</style>